\documentclass[12pt,a4paper,titlepage,oneside]{article}
\usepackage{ese_prot}

\title{Beispiel 3 Protokoll C}


\author{ Nick MAYERHOFER, \matrnr 0726179    \\
        {\small e0726179@student.tuwien.ac.at} \\
	Martin PERNER, \matrnr 0725782    \\
         {\small e0725782@student.tuwien.ac.at} \\
	Manfred SCHWARZ, \matrnr  0725898   \\
         {\small e0725898@student.tuwien.ac.at}
}


\begin{document}

% create titlepage
\maketitle

\tableofcontents
\newpage

%\input{alleDaten}


\newpage
\section{Listings}

\subsection{node0/node0.c}
\lstinputlisting{../node0/node0.c}
\newpage
\subsection{node1/node1.h}
\lstinputlisting{../node1/node1.h}
\newpage
\subsection{node1/node1.c}
\lstinputlisting{../node1/node1.c}
\newpage
\subsection{node2/node2.c}
\lstinputlisting{../node2/node2.c}
\newpage
\subsection{node3/node3.c}
\lstinputlisting{../node3/node3.c}
\newpage
\subsection{eselib/src/adc.c}
\lstinputlisting{../../library/eselib/src/adc.c}
%\newpage
%\subsection{eselib/src/bus-protocol.c}
%\lstinputlisting{../../library/eselib/src/bus_protocol.c}
\newpage
\subsection{eselib/src/button.c}
\lstinputlisting{../../library/eselib/src/button.c}
\newpage
\subsection{eselib/src/generadc.c}
\lstinputlisting{../../library/eselib/src/generadc.c}
\newpage
\subsection{eselib/src/mem\_eval.c}
\lstinputlisting{../../library/eselib/src/mem_eval.c}
\newpage
\subsection{eselib/src/ourMath.c}
\lstinputlisting{../../library/eselib/src/ourMath.c}
\newpage
\subsection{eselib/src/ringBuff.c}
\lstinputlisting{../../library/eselib/src/ringBuff.c}
\newpage
\subsection{eselib/src/spi.c}
\lstinputlisting{../../library/eselib/src/spi.c}
\newpage
\subsection{eselib/src/spiLCD.c}
\lstinputlisting{../../library/eselib/src/spiLCD.c}
\newpage
\subsection{eselib/src/timer.c}
\lstinputlisting{../../library/eselib/src/timer.c}
\newpage
\subsection{eselib/src/timer0.c}
\lstinputlisting{../../library/eselib/src/timer0.c}
\newpage
\subsection{eselib/src/timer3.c}
\lstinputlisting{../../library/eselib/src/timer3.c}
\newpage
\subsection{eselib/src/uart.c}
\lstinputlisting{../../library/eselib/src/uart.c}
\newpage

\subsection{eselib/include/adc.h}
\lstinputlisting{../../library/eselib/include/adc.h}
\newpage
\subsection{eselib/include/button.h}
\lstinputlisting{../../library/eselib/include/button.h}
\newpage
\subsection{eselib/include/generadc.h}
\lstinputlisting{../../library/eselib/include/generadc.h}
\newpage
\subsection{eselib/include/global.h}
\lstinputlisting{../../library/eselib/include/global.h}
\newpage
\subsection{eselib/include/mem\_eval.h}
\lstinputlisting{../../library/eselib/include/mem_eval.h}
\newpage
\subsection{eselib/include/node0.h}
\lstinputlisting{../../library/eselib/include/node0.h}
\newpage
\subsection{eselib/include/node1.h}
\lstinputlisting{../../library/eselib/include/node1.h}
\newpage
\subsection{eselib/include/node2.h}
\lstinputlisting{../../library/eselib/include/node2.h}
\newpage
\subsection{eselib/include/node3.h}
\lstinputlisting{../../library/eselib/include/node3.h}
\newpage
\subsection{eselib/include/ourMath.h}
\lstinputlisting{../../library/eselib/include/ourMath.h}
\newpage
\subsection{eselib/include/ringBuff.h}
\lstinputlisting{../../library/eselib/include/ringBuff.h}
\newpage
\subsection{eselib/include/spi.h}
\lstinputlisting{../../library/eselib/include/spi.h}
\newpage
\subsection{eselib/include/spiLCD.h}
\lstinputlisting{../../library/eselib/include/spiLCD.h}
\newpage
\subsection{eselib/include/timer.h}
\lstinputlisting{../../library/eselib/include/timer.h}
\newpage
\subsection{eselib/include/timer0.h}
\lstinputlisting{../../library/eselib/include/timer0.h}
\newpage
\subsection{eselib/include/timer3.h}
\lstinputlisting{../../library/eselib/include/timer3.h}
\newpage
\subsection{eselib/include/uart.h}
\lstinputlisting{../../library/eselib/include/uart.h}
\newpage

\end{document}
